package com.qf.dao;

import com.qf.domain.User;

import java.util.List;

/**
 * @author YDW
 * projectName:shopping
 * time:2022/4/18 17:36
 * description:用户数据访问层接口
 */
public interface UserDao {

    Long selectByUsername(String username);

    int insert(User user);

    User selectByUsernameAndPassword(String username, String password);

    User finduser(int uid);

    List<User> findUserByUsername(String username);
}
